/**
* ...
* @author $(DefaultUser)
*/

interface com.mochimedia.ui.IComponent {
    
    public function create ():Void;
    
    public function onClick ():Void;
    
    public function onRollOver ():Void;
    
    public function onRollOut ():Void;
    
    public function addEventListener (eventType:String, callbackObject:Object, callbackMethod:Function):Void;
    
    public function removeEventListener (eventType:String, callbackObject:Object, callbackMethod:Function):Void;
    
    public function dispatchEvent (eventType:String):Void;
    
    public function enable ():Void;
    
    public function disable ():Void;

    public function show ():Void;
    
    public function hide ():Void;

    public function destroy ():Boolean;

}